<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<div class="form-group col-md-3">
    <label>所属景区/项目：</label><label>${ticket.scene.name }</label>
</div>
<div class="clearfix"></div><br>
<div class="form-group col-md-12">
    <label>展示图片：</label>
    <ul class="thumbnails gallery">
    	<c:forEach items="${ticket.scene.imgs }" var="img">
    		<li class='thumbnail'><a style='background:url("${img}")'>
    			<img class='grayscale' src='${img }' style="height:100px;width:100px;"></a></li>
    	</c:forEach>
    </ul>
</div>
<div class="clearfix"></div><br>
<div class="form-group col-md-2">
    <label>商品进价：</label><label>${ticket.buyinPrice }</label>
</div>
<div class="form-group col-md-2">
    <label>参考市场价：</label><label>${ticket.listPrice }</label>
</div>
<div class="form-group col-md-2">
    <label>库存数量：</label><label>${ticket.inventory }</label>
</div>
<div class="clearfix"></div><br>
<div class="form-group col-md-4">
    <label>有效时间：</label><label>${ticket.fromTime_display }-${ticket.endTime_display }</label>
</div>
<div class="form-group col-md-3">
    <a href="javascript:;" class="btn btn-default" onclick='viewRelatedTickets("${ticket.ticketInfoId}");'>查看关联票品</a>
    <%-- <a href="javascript:;" class="btn btn-default" onclick='viewRelatedLines("${ticket.ticketInfoId}")'>查看关联旅游产品</a> --%>
</div>
<div class="clearfix"></div><br>
<div class="form-group col-md-6">
	
	<ul class="nav nav-tabs"> 
      <li class="active"><a class="taba" href="#description-panel">票品信息</a></li>
      <li><a class="taba" href="#transportation_info-panel">交通信息</a></li>
      <li><a class="taba" href="#buy_note-panel">订购须知</a></li> 
    </ul>
       
    <div class="tab-content"> 
      <div class="tab-pane active" id="description-panel">
      	  <p>${ticket.description }</p>
      </div> 
      <div class="tab-pane" id="transportation_info-panel">
          <p>${ticket.addressDetail }</p>
      </div>
      <div class="tab-pane" id="buy_note-panel">
          <p>${ticket.buyNote }</p>
      </div>
    </div>
</div>
<div class="clearfix"></div><br>